package com.fduss.artStore.dao;

import com.fduss.artStore.entity.TypesShipper;

import java.util.List;

/**
 * @Author duocai wu
 * @Date 2017/6/24
 * @Time 20:17
 */
public interface TypesShipperDao {

    /**
     *
     * @param typesShipper
     * @return a TypesShipper with TypesShipper id
     */
    TypesShipper add(TypesShipper typesShipper);

    void delete(int typesShipperId);

    TypesShipper getOne(int typesShipperId);

    List<TypesShipper> getAll();
}
